package DAITINGTING.Football_basketball;

public class Football extends Ball {
    String unTouchPart;
    String play(int playerNum, int cpNum) {
        String s = super.play();
        return s + "比赛运动员的人数为" + playerNum + "裁判人数为" + cpNum;
    }
        String play(int playerNum){
            String s=super.play();
            return s+"小场运动员人数是"+playerNum;
        }
        public Football(String name,String daxiao,String caizhi,String zhongliang,String renqun){
            super(name,daxiao,caizhi,zhongliang,renqun);
        }
    public Football(String name,String daxiao,String caizhi,String zhongliang,String renqun,String unTouchPart){
        super(name,daxiao,caizhi,zhongliang,renqun);
        this.unTouchPart=unTouchPart;
    }
}